package entity

import (
	"time"

	"shqsoft.cn/pas3ui/base"
)

//CompZsFlowCh
type CompZsFlowCh struct {
	JLID    int       `gorm:"column:JLID;primary_key;"`
	CUNM    string    `gorm:"column:CUNM"`
	ITNO    string    `gorm:"column:ITNO"`
	ITNM    string    `gorm:"column:ITNM"`
	DATA_DT time.Time `gorm:"column:DATA_DT"`
	CYNM    string    `gorm:"column:CYNM"`
	ZSJE    float64   `gorm:"column:ZSJE"`
	TPID    int       `gorm:"column:TPID"`
}

//TableName
func (CompZsFlowCh) TableName() string {
	return "V_CM_BIZ_FEE_SUM_M"
}
func CompZsFlowChEF() base.EntityFunc {
	return func() interface{} {
		entity := CompZsFlowCh{}
		return &entity
	}
}
func CompZsFlowChESF() base.EntitiesFunc {
	return func() interface{} {
		var entities []CompZsFlowCh
		return &entities
	}
}

func init() {
	base.DaoPoolObj.Put("DictMidoType", base.NewDefaultDao(DictMidoTypeEF(), DictMidoTypeESF(), nil, "ch"))
	base.DaoPoolObj.Put("CompZsFlowCh", base.NewDefaultDao(CompZsFlowChEF(), CompZsFlowChESF(), nil, "ch"))
}
